package config

import "fmt"

type System struct {
	Host        string `yaml:"host"`
	Port        int    `yaml:"port"`
	Env         string `yaml:"env"`
	LogFileDir  string `yaml:"logFileDir"`
	LogFilePath string `yaml:"logFilePath"`
}

func (s *System) Addr() string {
	return fmt.Sprintf("%s:%d", s.Host, s.Port)
}
